/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      头像      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-FormPhoto {
  position: relative;

  /* ============================== 上传组件 ============================== */
  &-upload {
    width: 100%;
    height: 100%;

    > .el-upload {
      width: 100%;
      height: 100%;
    }
  }

  /* ============================== 预览图 ============================== */
  > .el-image {
    width: 100%;
    height: 100%;

    img {
      transition: 0.3s;

      &:hover {
        transform: scale(1.1);
      }
    }
  }

  /* ============================== 自动删除 ============================== */
  &:hover > .CoreWeb-FormPhoto-del-auto {
    opacity: 1;
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      上传      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-FormPhoto .el-upload-dragger {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  transition: 0.3s;

  /* ============================== 缩放区域 ============================== */
  > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: 0.3s;

    /* —————————————————————————————— 悬浮状态 —————————————————————————————— */
    &:hover {
      transform: scale(1.1);

      i,
      div {
        color: #409eff;
      }
    }

    /* —————————————————————————————— 图标 —————————————————————————————— */
    > i {
      line-height: 1;
      margin: 0;
      font-size: 100px;
      color: #aaa;
      transition: 0.3s;
    }

    /* —————————————————————————————— 图片 —————————————————————————————— */
    > img {
      width: 100px;
      height: 100px;
    }

    /* —————————————————————————————— 文字 —————————————————————————————— */
    > div {
      line-height: 1;
      margin-bottom: 16px;
      font-size: 18px;
      color: #888;
      transition: 0.3s;
    }
  }
}

/* ============================== 小尺寸的三行 ============================== */
.el-form-item--small,
.el-form-item--mini {
  .row3 {
    .el-upload-dragger {
      > div {
        > i {
          font-size: 80px;
        }
        > img {
          width: 80px;
          height: 80px;
        }
        > div {
          margin-bottom: 12px;
          font-size: 16px;
        }
      }
    }
  }
}

/* ============================== 方框和所有的两行 ============================== */
.CoreBody .CoreWeb-WebForm-square,
.CoreBody .row2 {
  .el-upload-dragger {
    > div {
      > i {
        font-size: 60px;
      }
      > img {
        width: 60px;
        height: 60px;
      }
      > div {
        margin-bottom: 8px;
        font-size: 14px;
      }
    }
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      删除      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-FormPhoto-del {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-bottom-left-radius: 80%;
  box-shadow: -2px 2px 4px 0 #fff;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;

  /* ============================== 自动显示 ============================== */
  &-auto {
    opacity: 0;
  }

  /* ============================== 全部隐藏 ============================== */
  &-hide {
    display: none !important;
  }

  /* ============================== 悬浮状态 ============================== */
  &:hover > i,
  &:hover > img {
    transform: scale(1.2);
  }

  /* ============================== 图标 ============================== */
  > i {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 20px;
    transition: 0.3s;
  }

  /* ============================== 图片 ============================== */
  > img {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    transition: 0.3s;
  }
}
